ARM: tegra: Guard powergate code with a Kconfig symbol
authorThierry Reding <[email protected]>
Mon, 15 Apr 2019 09:32:22 +0000 (11:32 +0200)
committerTom Warren <[email protected]>
Wed, 5 Jun 2019 16:16:33 +0000 (09:16 -0700)
commite19143b5eb22fd440de8bf42709347fd524897c0
tree420ac09bf97dde2ccefcc4f3867c2ec464554afe
parent07ea02bc2dd17a75ec04c5f4ba10b0088f1596d5
ARM: tegra: Guard powergate code with a Kconfig symbol

Powergate code is not relevant on all Tegra SoC generations, so guard it
with a Kconfig symbol that can be selected by the generations that need
it.

This is in preparation for unifying Tegra186 code with the code used on
older generations.

Signed-off-by: Thierry Reding <[email protected]>
Signed-off-by: Tom Warren <[email protected]>
arch/arm/mach-tegra/Kconfig
arch/arm/mach-tegra/Makefile